<div class="follow-table" *ngIf="modalTable?.records?.length > 0">
    <h3>跟进记录</h3>
    <br>
    <nz-table #colSpanTable [nzShowPagination]="false" [nzData]="[{}]">
        <thead>
            <tr>
                <th nzAlign="center" nzWidth="80px">id</th>
                <th nzAlign="center" nzWidth="120px">跟进时间</th>
                <th nzAlign="center" nzWidth="90px">跟进人</th>
                <th nzAlign="center">跟进内容</th>
                <th nzAlign="center" nzWidth="250px">附件</th>
            </tr>
        </thead>
        <tbody>
            <tr *ngFor="let item of modalTable?.records">
                <td nzAlign="center">{{item.id}}</td>
                <td nzAlign="center">{{item.createTime}}</td>
                <td nzAlign="center">{{item.follower}}</td>
                <td nzAlign="center">{{item.content}}</td>
                <td nzAlign="center">
                    <ul>
                        <li *ngFor="let o of item.enclosure">
                            <span>{{formUrl(o)}}</span>
                            <a *ngIf="formUrl(o)" target="_blank" href="{{o}}" download class="download">下载</a>
                            <span *ngIf="!formUrl(o)">-</span>
                        </li>
                    </ul>
                </td>
            </tr>
        </tbody>
    </nz-table>

    <div class="pagination-box">
        <div class="pagination-template">
            <ng-template #modalTotalTemplate let-total> 共有 {{ modalTable.total }} 条 </ng-template>
            <nz-pagination [nzPageSizeOptions]="[10, 20, 50, 100]" nzShowSizeChanger nzShowQuickJumper
                [nzPageIndex]="followParam.page" [nzTotal]="modalTable.total" [nzShowTotal]="modalTotalTemplate"
                [nzPageSize]="followParam.pageSize" (nzPageIndexChange)="onModalPageIndexChange($event)"
                (nzPageSizeChange)="onModalPageSizeChange($event)"></nz-pagination>
        </div>
    </div>
</div>